Minor fix to enure private ID is created before we associate a public ID