Example use of getting next primary id