Moved ID prefixing from XML input to HTML output

Issue #6