Fix bug that disordered last paragraph (off-by-one error)
More sophisticated square bracket reference handling
Reintroduce previous method for bibliography classification with safety check
Change numbering method to UUID
Concatenate bibliography entries determined by linguistic cues where reference seems invalid on own