std::string was used here, likely by mistake. The usual convention for attributes is to use StringAttr.