Issue new ids for deepcopied nodes