Oxidation number of hydrogen in KH?

The oxidation number of hydrogen in potassium hydride is -1, because hydrogen has a much higher electronegativity than potassium, even though in most of its compounds hydrogen is more likely to have an oxidation number of +1.