Deprecate and warn on namingstrategy

Deprecate setNamingstrategy() and log a warning letting people know
that they should use `naming-strategy`.

Issue #928