Add type-name parsing for generic and scope-resolved type ids