replace unicode in footnote reference ids