use unsigned long for extensions (increases available number of options); add option to generate random anchors for footnotes in HTML