Error if the same view ID is injected twice on the same class.

Resolves #171