Fix _id inconsistency in domscan
Made TOC construction not rely on docinfo .elt field