Fix uids mistakenly taken for an id

When an uid starts with a number, forever think it is an index and apply the action to the wrong task.
For example `forever restart 7wFU` restarts the task at index 7 instead of the the task with the uid forever restart 7wFU.
This pull request fixes it.