idmap_autorid: allow iterate functions to operate on all domain ranges