generalise getPluginIdentifier() to take Class as argument

This can in theory be used with the Dataflow to look up Activity
Avoid import of Raven Artifact