Cleans a value, using either the user provided clean_value, or cls.reduce_value.

def clean_value(self, value):
    """Cleans a value, using either the user provided clean_value, or cls.reduce_value."""
    if self._clean_value:
      return self._clean_value(value)
    else:
      return self.reduce_value(value)