Pātuhitia tēnei: Women, production, and patriarchy in late medieval cities