move utilities for validating plugin names to FetcherPlugin class