From all-round to professional education. How young historians became members of an academic community in the nineteenth century