The WT_CONNECTION.load_extension's documentation includes a prefix configuration string:
a prefix for all names registered by this extension (e.g., to make namespaces distinct or during upgrades).
I can't find anywhere that's actually implemented, but maybe I'm missing something?