Implemented IDSResource::ValueFor() which accepts a string
and return an id. Made the other ValueFor() const
and fixed implementation. Was creating a new entry when there was none.