def escape(string):
    """Escape strings to be SQL safe"""
    if '"' in string:
        raise Exception(
            "Can't escape identifier {} because it contains a backtick".
            format(string))
    return '"{}"'.format(string)
