Tests and implements uniqueness (by email for People and by name for Teams)