wiki: Fix table of contents links in some browsers.
wikitoc: Allow period in the header id.