computes a hash string from id, to be used in hash tables as a #GHashFunc
an identifier string
a new hash
computes a hash string from id, to be used in hash tables as a #GHashFunc