Generate new id string automatically