preserve existing id when adding an item to a container