_keyify to generate key for links and footnotes