READING EIGHTEENTH- AND NINETEENTH-CENTURY TEXTS THROUGH THE LENS OF IBN KHALDN