Allow passing an event identifier to the constructor