Differentiate between resolved types and generic typaram types, and include the ids for typarams