Cleanup around unique identifier generation during page definitions loading and fix to disqus.mako template.