Adds an attribute to an event.
The attribute to attach to the event.
The id of the event to attach the attribute to.
Adds an attribute to an event.