user_ident_sufficiently_given(): refactor the logic to be usable from elsewhere