glue.utils.misc.
as_variable_name
Convert a string to a legal python variable name
A string to (possibly) rename
A legal Python variable name