Better back references in bibliography, cf. #254

Feel free to remove the parentheses. The main advantage over the
old version is that it correctly detected singular vs. plural.