Extract parameter handling for FluentDOM\Query::attr()/css()/data()