A government adviser says factors like deprivation, rather than ethnicity, should be used to judge risk.