ecmascript/settings/multiopt: Make sure option id is a string

refs #2344