common: trace: add Event::getId(), Event::getTraceId()