Fixed PerformanceSubscriber::getTimerId() and add a test for it.