handle potential ticket code collision on creation #tioticket