Use UndefinedType for undeclared identifiers.