<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sanitize(self, table_name, column_name, value):
 """ Sanitizes given value extracted from the database according to the sanitation configuration. TODO: Add support for dates, booleans and other types found in SQL than string. :param table_name: Name of the database table from which the value is from. :type table_name: str :param column_name: Name of the database column from which the value is from. :type column_name: str :param value: Value from the database, either in text form or None if the value is null. :type value: str|None :return: Sanitized version of the given value. :rtype: str|None """

        sanitizer_callback = self.get_sanitizer_for(table_name, column_name)
        return sanitizer_callback(value) if sanitizer_callback else value