ident->name in field_ty

Fixes issue #9110, changes field_ty element to Name, adds test case, improves fail error message