in narrow builds, make sure to test codepoints as identifier characters (closes #12732)

This fixes the use of Unicode identifiers outside the BMP in narrow builds.
4 files changed