updated the patern of service id generation