Add error message to ArgumentError when the keys 'id' and 'term' are not defined when adding a new item to a loader.