The co-production of historical knowledge: implications for the history of identities