Fixed :meth:`str.isidentifier` for non-canonicalized strings containing
non-BMP characters on Windows.