 we only know that god made ishmael an arab after he was a foreigner by the words of the prophet may god bless him and grant him peace. so too is the ruling on his saying the client of the people is from them and his saying loyalty is cohesion.
فإنما علمنا أن إسماعيل صيره الله عربيا بعد أن كان أعجميا بقول النبي صلى الله عليه وسلم، فكذلك حكم قوله مولى القوم منهم ، وقوله الولاء لحمة .