Mmm. Looking at
the docs, a purely numeric environment name would be allowed. However, the environment name also forms part of a qualified variable name in some situations and those must start with a lower-case letter.
From the error message, it looks like these may have started parsing as an Integer and not a String. Overall, I'd say a purely numeric environment name is an edge case that may conflict with some of the naming requirements.