For the vinaigrette: In a skillet over medium-low heat, toast the pine nuts, stirring occasionally, until golden and fragrant, 4 to 5 minutes. Remove from the heat and set aside. (Alternatively, place the pine nuts on a baking sheet and toast in a 350-degree oven until golden, 6 to 8 minutes.)
In a blender, combine the mayonnaise, pecorino, toasted pine nuts, lemon juice, Dijon, anchovies, Worcestershire, cayenne and a pinch of salt and pepper. Blend until smooth. Set aside.
For the salad: Bring a large pot of salted water to a boil. Blanch the beans until crisp-tender, 5 to 7 minutes. With a slotted spoon, remove the beans to a serving plate and add the sliced tomatoes and torn basil. Drizzle with the vinaigrette, and sprinkle with some pine nuts and the 2 tablespoons pecorino. Season with salt and pepper.
Recipe courtesy of Nancy Fuller