Infer model from form name.