Store Workshop PageID in a variable

When I set up a PAGE ID (i.e. myhomepage) in a workshop , then the workshop url will include this pageID.

https://xxxxxx.zzz-99.exampledomain.com/some/fake/path/xxxxxxxxxxxxxxxxxxxx/myhomepage

Can I store this url or its final path segment (myhomepage) in a variable?