Tidy up get_id function for PBS.
Merge pull request #1 from aosprey/pbs-job-poll-and-kill-etc

Tidy up get_id function for PBS.