Generate UUID-based UIDs