The quality of the sake you use in cooking does matter. With heartier foods, such as pork, you can use even a slightly stale sake without unpleasant results. Sake is complex. It presents slightly different faces at slightly different temperatures, and there is no one correct temperature to drink it. Different taste aspects of a sake will present themselves in different situations.
Food is likewise complex.
The same dish will seem different depending on who prepares it, and a slight difference in the spices or methods of preparation used will make all the difference in the world. It is not possible to unequivocally say that a particular dish goes well with a given sake. Pairing sake and food should be fun, precisely because it is an imprecise process. The object of the game is to enhance both the food and the sake. No match is perfect, and in the end, it is a matter of what you like.