Serializes a user into a unique identifier associated only with one identity.
FutureOr<String> Function(User) serializer;