pass in event to newId method so we can be smart about what id we generate