def jobid(self, job):
    'Return job id of given job.'
    if job.is_group():
        return job.jobid
    else:
        return self._jobid[job]
Return job id of given job.
def jobid(self, job):
    
    if job.is_group():
        return job.jobid
    else:
        return self._jobid[job]