bring back .attr through the RCPP_API_IMPl macro. closes #214