use template argument for identifier type in Measurement
- reduces the dependency between EventData and Core
- allows the usage of different identifiers for different types of measurements
- simplifies the usage for the user (no need to provide separate header file and overwrite compiler macro)