GH-18 Added a hash function to convert obj IDs

to a hash