If this is supposed to be unique, you may want to use a sequence.