Fixed issue with setting event identifier

- of all things, a typo in the variable names...