Message plugin not converting icons

My Ace script allows you to enter \oi[120] in a text box and will replace it with the icon and name of item 120.

I'm trying to convert this to MV, and while I'm getting the item name, the icon just isn't converting properly. I've compared what I've done with what Yanfly did in his MessageCore plugin, and I'm really not seeing a difference.

I've been trying to sort this out for a couple of days now, with no success. Can anyone see what I've missed?

Code:
    var _Shaz_MS_Window_Base_convertEscapeCharacters = Window_Base.prototype.convertEscapeCharacters;
    Window_Base.prototype.convertEscapeCharacters = function(text) {
        text = _Shaz_MS_Window_Base_convertEscapeCharacters.call(this, text);

        text = text.replace(/\x1boi\[(\d+)\]/gi, function() {
            return this.messageIconAndName($dataItems, arguments[1]);
        }.bind(this));

        return text;
    };

    Window_Base.prototype.messageIconAndName = function(src, id) {
        return '\x1bI[' + src[id].iconIndex + '] ' + src[id].name;
    };

If I enter 1 \oi[120] in the message box, I get this in the message window:
1 [50] ivory
(assuming item 120 uses icon 50)


Edit: figured it out ... my processEscapeCharacter wasn't calling the aliased method correctly. All working now, so I can move onto the next issue - bold and italics.

Original thread: https://forums.rpgmakerweb.com/threads/message-plugin-not-converting-icons.92266/