Ibn Khaldun
Ibn Khaldun divided the Berbers into the Batr and the Baranis.