Use gearman handle to determine the job id

This matches what we do in places like baseworker-coffee