usagestats: treat ID as anonymous if not all digits
Created by: unknwon
Quoting problem statement from https://github.com/sourcegraph/sourcegraph/issues/11801#issuecomment-652300018:
The root cause is that we check length to determine if the ID looks like a UUID, but for some reason we stored double quotes along with the UUID, the length check no longer works.
Checking digits is more robust. No tests added specifically for this given it's in deprecated codebase.
Fixes #11801