Added id to TicketImp.
Added get/set id to Ticket interface.
Merge remote-tracking branch 'origin/mechanics' into db_branch