How to create an ad hoc Wi-Fi network in OS X?

A solution does in fact exist. Click the Wi-Fi symbol in the menu bar and choose Create Network.