Add (optional) property to ConnId Uid class that can hold _NAME_ of the object (most notably DN in the case of LDAP). This can be used to speed up the searches in multi-domain environments. It can also be used as a clean way how to specify base context DN.
Maybe even allow Uid value to be empty if NAME is specified. This mat be a benefit when working with LDAP groups using memberof. We only know DN in such cases. It is enough for LDAP. But not for ConnId.