Infer struct names for named schema definitions