On TIKA-2265, Mike Rodent shared a file that shows that a footnote's id is not necessarily its number. Numbering for footnotes/endnotes should be calculated dynamically, and we shouldn't include the footnote id as if it were the footnote number in our footnote text.