Fix merging ID bug with duplicate topics dita-ot/dita-ot#1528

Add both topic URL and topic URL with root ID into generated ID mapping table.