Added getter to variable id in Event.java