eventdev: add API to get service id