Handle environment name validation and modification.
@api private
@return [String] The unmodified name of the environment
Should the environment name have invalid characters removed?
The directory name for the environment, modified as necessary to remove invalid characters.
@return [String]
[Validate]