Change how ids and unique tokens are generated