Refactor FluentDOM\Query::attr()