The id() method returns the id of the calendar/scheduler event.
DayPilot.Event.id()
Gets the event id.
The event id (string or number).