Translating itype_id into screen name

I have some code in which I have itype_ids which I want to print to the screen using ityp::nname. In itype.h there is a mention of a master itype map in which I can look up itypes by itype_ids, but I can’t find it. Anyone know where this map is, or what’s it called?


struct itype {
    // unique string identifier for this item,
    // can be used as lookup key in master itype map
    // Used for save files; aligns to itype_id above.
    std::string id;

I found it. I had overlooked item::nname(itype_id)