This, known in Arabic as Nisba, may form part of muslim personal names, from a trade or profession, such as carpenter (al-Naggar). This may apply over generations to people who are no longer practioners of that profession, but it may also be changed during a generation to a new name.
Practical International Data Management Online. A free resource from GRC Data Intelligence. For comments, questions or feedback: firstname.lastname@example.org