<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _clean_up_name(self, name):
 """ Cleans up the name according to the rules specified in this exact function. Uses self.naughty, a list of naughty characters. """

        for n in self.naughty: name = name.replace(n, '_')
        return name