In a food processor or blender, blend together basil, nuts, garlic, and cheese. Pour in oil slowly while still mixing, and then add in salt and pepper. Scrape down the sides and pulse once more to make sure it's well-blended.