Enforce UUID v4 format for user ids?

Is it possible to force user ids to be UUID, or have some sort of hook that enforces user ids?

I'm asking b/c Apple's appAccountToken must be a UUID.
Was this page helpful?