Added the getId method to the CommonService