Simplify the internString() function

With SignalHistoryModel::Item::updateFromModel() gone we don't need the
identity check anymore. It's gone anyway.
Avoid QLocale::system()