Remap data criteria IDs using hash of attributes.