Add operator for std::string index lookup.