PIM-3359 : re-work the attribute type registry