Preserve and use existing ids