Medical researchers have developed an easy way for people to assess their risk of having diabetes.