To make the dressing, in a small jar with a tight-fitting lid, combine the olive oil, vinegar, mustard, sugar, salt, and pepper to taste. Cover tightly and shake vigorously to blend. Taste and adjust the seasoning. Set aside.
Place the onions in a medium bowl and cover with cold water. Let stand for 15 minutes. This crisps the onion and takes away the raw onion taste. Drain well and pat dry on paper towels.
In a small bowl, toss the cranberries with 2 tablespoons of the dressing to soften them. Set aside for 15 minutes or until ready to serve the salad.
To assemble the salad, place the spinach, onions, and pears in a large bowl. Give the remaining dressing a last-minute shake and pour over the salad. Toss to coat evenly. Arrange the salad in a large serving bowl or divide it evenly among 8 salad plates. Scatter the cranberries and hazelnuts over the top(s). Serve immediately.