Depends on the dynamic range of the format you are shooting in terms of holding highlight detail. For film, you either find a spot in the sky that you imagine is close to 18% grey in value, or you find a lighter area and guess how many stops over 18% grey it is. You figure that to hold color, it probably can't be exposed more than 2-stops overexposed before it washes out, but that five stops over 18% grey is essentially white. However, for sunballs, it depends on how large in the frame they are -- in a wide-angle shot of a sunset, you'd expose for the color in the sky, but in a 1000mm shot of the sunball, you'd expose more for the sunball.