Generate a folio id using the onb codex id stated in the document and x[rv]. Add a color override for semantic styles. Interpret an optiona aka as first element of a comment. Split up genereateTagsDecl for person, place and other name for better readability and future clean up using conditional template calls. Remove some style transformations for the TEI level, CSS is a better place.