Implement a hash order number generator.

Removes the autoincrementing id number that some e-tailers dont like.
Fixes #922