unique bib_id on create and update, to_bib refactoring, specialChars to handle non UTF-8 bibtex