I think there is a different between enjoying a shared cultural identity and tribalism. I am currently in China and as an American I stick out like a sore thumb. But most people are very polite to me, and even though we have our cultural differences (and the social consequences that come with them), we recognize each other as human beings, eat together, work together, etc. I don't view the lack of ethnic or cultural kinship as tribalism, and of course I am aware that I am excluded from certain social networks. But at the end of the day, although there are differences between us, but we are part of the same local community.
Tribalism, by my definition at least, comes when the foreigner (whether ethnically or ideologically) is seen as not just an outsider but also as a competitor or a threat. In extreme situations perhaps they are, but in a civil society properly governed by the rule of law, this kind of tribalism is just poison for a community.