db2html: change id generator to be based on the xml-tree