convert environment string to symbol