We don't know what context to use until the classification result is
consumed by the parser, which could happen in a different semantic
context.
This covers everything except C++ implicit class member access, which
is a little awkward to handle properly in the face of the protected
member access check. But it at least fixes all the currently-filed
instances of PR43080.