make sure the identifier is not nil