On uniform dimensions of ideals in right nonsingular rings