Replace some old uses of ARCHETYPE_ID style id with ARCHETYPE_HRID id.