Creates node IDs in the style of the Ruby BSON library