Is the a page number macro?

Is there a macro or something that I can use to automatically input a predictable and unique variable on a page?

My thought is that this could possible have a realation to the function that automatically sets the page number (I.e “page_0”, “page_1”, ect.) and then places that in the outer container of a stack.

Is this a crazy idea?

A little bit more context what you want to archive would be helpful :slight_smile:

Stacks already does this for us. Every stack has a unique ID assigned to it.

I’m looking for a unique page id rather than a unique stack id.