Changed entering unique ids to use oracle sequence.