Validate job ID

Rename --unique-id to --force-job-id, warn the user in the documentation that this is not intended for general use and validate it to make sure it's a 40 digit hex number.

Includes functional tests.