Automatically set the pluginId attribute inside the service container, and get it back as
required.