keep the $_id_for_new to the biggest *virtual* id in the post data;
just in case the entities are reused, the new entities will have different ids.