use inferred NameNode type for builtin types instead of more generic entry type