def METHOD_NAME(self, cell, variable_path):
    match = recordable_pattern.match(variable_path)
    if match:
        parts = match.groupdict()
        if parts['section']:
            section = getattr(cell, parts['section'])
            if parts['location']:
                source = section(float(parts['location']))
            else:
                source = section
        else:
            source = cell.source
        return source, parts['var']
    else:
        raise AttributeError("Recording of %s not implemented." % variable_path)