code: public AuthenticationMethodType getAuthenticationMethodTypeForIdentifier(int id) {
  		for (AuthenticationMethodType t : getAuthenticationMethodTypes())
  			if (t.getUniqueIdentifier() == id)
  				return t;
  		return null;
  	}
docs: Gets the authentication method type for a given identifier.
  
  @param id the id
  @return the authentication method type for identifier