worker: use sha

and move id to a more pleasing location