Implementation of job id generation