Role of genetics in resistance to type 1 diabetes