@rule('<STR_LIT>')<EOL><INDENT>def visit_ident(self, node, _):<DEDENT>
return node.text<EOL>
Return a valid python identifier.

        It may be used for a resource name, a filter...

        Arguments
        ---------
        node : parsimonious.nodes.Node.
        _ (children) : list, unused

        Result
        ------
        str
            The identifier as string.


        Example
        -------

        >>> BaseParser('foo', default_rule='IDENT').data
        'foo'
        >>> BaseParser('_foo', default_rule='IDENT').data
        '_foo'
        >>> BaseParser('fooBar', default_rule='IDENT').data
        'fooBar'
        >>> BaseParser('foo_Bar', default_rule='IDENT').data
        'foo_Bar'
        >>> BaseParser('foo1', default_rule='IDENT').data
        'foo1'
        >>> BaseParser('1foo', default_rule='IDENT').data # doctest: +IGNORE_EXCEPTION_DETAIL
        Traceback (most recent call last):
        dataql.parsers.exceptions.ParserError:
        >>> BaseParser('foo-bar', default_rule='IDENT').data # doctest: +IGNORE_EXCEPTION_DETAIL
        Traceback (most recent call last):
        dataql.parsers.exceptions.ParserError: