For some fields in dgmexpressions, convert symbolic names into IDs - this fixes weapon damage mods