well yemen is mostly sedentary (practically no bedouin) and still has a vicious tribal system similar to somali. The schottish highlanders also had a famous clan system while being farmers. Its not just nomads that can have a strong clan systemOnly nomadic societies are tribal, peasants/farmers don’t leave their small villages their whole lives and it’s easy for them to form a national identity.