wrong index for $name in buildFootnoteElement()

numbering in identifyFootnoteMarker() starts with 1, while in buildFootnoteElement() it starts with 0