fix bug where loci were not getting their id value set