Fix duplicate IDs when a footnote isn't referenced.