Tests: $p.url.fragment (page URL fragment)
Try functions:
Set fragment
Get fragment