### Describe the bug, including details regarding any error messages, version, and platform. Version: master branch (11.0.0) Platform: Ubuntu 20.04 Neither `__arrow_ext_class__` nor `__arrow_ext_scalar_class__` are exposed on `BaseExtensionType`. This results in the following sort of errors when trying to access a C++ ExtensionArray/ExtensionType from pyarrow: ``` AttributeError: 'pyarrow.lib.BaseExtensionType' object has no attribute '__arrow_ext_class__' ``` See the following, for example: - https://github.com/apache/arrow/issues/32291 - https://github.com/apache/arrow/pull/10565#issuecomment-890893166 ### Component(s) Python