associate a unite id to each event.