idmap_hash: only return ID_REQUIRE_TYPE if we don't know about the domain yet