App: Handle ?id= queries as POC
App: UTF-8 decode the string before preformatting
App: Remove superfluous cast-to-same-type from preformat
App: PEP8ify formatting
Implement the rest of querystring handling