provide alternate error message for pattern-based naming strategy