In the medieval Islamic world, an elementary school was known as a maktab, which dates back to at least the 10th century