Change winnow and naive_bayes ids to std::strings.