getting pluginId via PluginEnvironment