check for null before instantiating an Identifier