No, if that is a possibility (duplicates/overlapping) you need to choose a userID value which is unique across all the LDAP agreements, if there is no value, then there is no way to have a predictable behavior in CUCM as UDS is a flat directory, anyone who is synced is in the same bucket and CUCM will try whatever user finds first.
HTH
java
if this helps, please rate