Merge id_maps