Fix to tv,chunk,snippet name validator per scottboryses observation

Fix to issue #11226

This issue affects 2.3 also