Recognize identity type