Should it really be a random number? Why not just an incrementing ID?