Generate a unique sequence