allow overriding the base name of the plugin

This is required for wildcard plugins like ping_ or sensors_ which take an
argument in the link name.