So the setting value will sometimes be a string and sometimes be an object? Now that you've got a unique id implemented, why not just save that, and look the name up?  Or, if not, why not have separate settings for name and l10nID?