loadPlugin = (id, init) => {
  const plugins = new Map();
  try {
    if (!plugins.has(id)) {
      if (!eventHandlerProxy) {
        eventHandlerProxy = getEventProxy(eventHandler);
      }
      init(module.exports, eventHandlerProxy, descEvent, registerHooks);
      plugins.set(id, init);
    }
  } catch (error) {
    console.trace(error);
  }
}
This function is used by taiko to initiate the plugin.

@param {string} ID - unique id or name of the plugin
@param {Function} init - callback method to set taiko instance for plugin