Pat the beef and ribs dry and season with 1/2 tsp of the salt and the pepper. Heat the oil in a 28 cm / 11-inch Dutch oven (5-quart / 4.7 L) over medium-high heat. Brown the beef first for 8 minutes, turning until every side has a dark crust, then move it to a plate. Brown the ribs the same way for 6 minutes. Don't add all the meat at once, because crowded meat steams, turns gray and leaves no browned bits on the pot floor for the sauce.
Lower the heat to medium-low. Add the sliced onions, a pinch of salt and 3 tbsp water, scraping up the browned bits. Cook for 20 minutes, stirring every few minutes, until the onions are soft and golden.
Push the onions aside, add the tomato paste and cook for 2 minutes until it darkens to brick red. Pour in the wine and simmer for 4 minutes, scraping the pot, until the sharp alcohol smell fades and the liquid has reduced by half.
Stir in the passata, crushed tomatoes, basil and 200 ml water, then return the beef, ribs and their juices to the pot. Bring to a bare simmer (about 95 C / 203 F), set the lid ajar and cook for 150 minutes, stirring and turning the meat every 20 to 30 minutes. Add a splash of hot water if the sauce catches on the bottom. It's done when the beef shreds with a fork and a brick-red film of oil gathers at the edge.
While the sauce finishes, bring 4 L of water to a boil in a 6-quart / 5.7 L pot. Lift the meat onto a board, discard the rib bones and shred about a third of the meat back into the sauce. Season with salt to taste. Keep the rest in large pieces to serve as a second course, with a spoonful of sauce over it to keep it moist.
Wrap the ziti in a clean tea towel and break it by hand into 4 to 5 cm / 1.5 to 2 inch pieces. Add the coarse salt and ziti to the boiling water and cook for 9 to 10 minutes, about 2 minutes short of the package time, until the center is still firm. Reserve 120 ml of the cooking water, then drain.
Add the pasta to the sauce in the Dutch oven and set it over medium heat. Stir for 1 to 2 minutes, adding the reserved water a splash at a time, until the sauce turns glossy and clings to every piece. Serve in warm bowls with the pecorino and a basil leaf, and bring the whole meat to the table afterward.