If this is now an exported function from this file, it should not be prepended with an underscore.  And it should have a clearer name than clean_field -- it's really just stripping a string, not operating on a field.  ("field" makes me think of XBlock).