nameChanger function

nameChanger: function to change a variable name.