Deprecated and removed the somewhat ambiguous id:: substitution reference in
favour of slug:: so that it is always clear what a reference will be
substituted with. This change also obviated the need for the misc:: handler,
so that was culled from the code too.