OK, so the current state of affairs for the item name generator is as follows:
Most boni naming can be made to work in an expected pattern save for those, that have "DMG_...", or "SKILL_" as "spez". Those do not get retrieved before, or during item name generation, only after.
"DMG_..." either returns 0(that's why there are many rares with "Bulwark" and "Armadillo" names), or if slots are present, the slot type ID(3 - Bronze, 4 - Silver, 5 - Gold) is returned. That results in poison, or ice related naming.
"SKILL_..." always returns 0. Therefore, no prefix or suffix can result from boni with that spez.
I can concoct no proper resolution for that problem, but I have an idea, as to how to circumvent it.
[EDIT] Hmpf, actually not a single "spez" value except, somehow, the one from the slot bonus is retrieved. Isn't it great.