Allow non-const access to a Connection's identity also in C++.