Medieval and early modern Europeans applied the name to Muslim Arabs, Berbers, Black Africans and Europeans alike