It is ultimately not a real hashing algorithm. I don't know what a better name would be though. If you have any suggestion...

This is inspired by how the index field for strings is created in SMW. @mkroetzsch you any suggestion on what to call this?