Allow user to change the algorithm used to generate item id