Would you recommend using resource/page id as a unique identifier? Under what circumstances (e.g. migration) will it change/reset? Alternatives? Just want to be sure.
I think if you are looking for something that will not change, and is unique to each resource, then you should use ID. It will not change in the event of a migration.
In fact I can not think of any scenario where the ID of a resource would change.