adapted xml2db to produce consistent ids for smooth reflexive lattice polys of dim 7