In this sentence, is the use of отождествлял okay? The student wants to say that "each person identified himself with his native khanate."

"Каждый человек, живший в ханстве, поклялся в верности...