On trees with unique locating kernels