Accept any word character in gist ID

Gist IDs were previously numeric; they can now be hex strings.