Fix bug which crept in when refactoring getDimension()
Optimization: remove getDimension("<uuid-string>")

This rarely used functionality forced each incoming name for
getDimension to be parsed as a UUID, only to determine (in the vast
majority of cases) that the string was not a valid UUID.