Add resource id to event collection