Generate id from title with sha1 instead of sha512 because sha512 was so long and over limit of RethinkDB