I was reading this other question on the site: Deodorizing using baking powder instead of baking soda.
Apparently, baking soda is used quite often as a cleaning and deodorizing agent. From what I know, it's cleaning effects are because it can denature proteins and saponify oils (convert oils to soap) since it is a weak base.
But when you take a look the Wikipedia page on aroma compounds, the only compounds that could possibly be affected by a weakly basic substance are esters (which would undergo hydrolysis). Most of the compounds are polyunsaturated aldehydes, ketones and alcohols which are not affected by (weak) bases.
Note: I assume here that compounds which cause bad odors would have a similar structure to compounds that are fragrant since they both have to activate whatever receptors there are in the nose. Also I have read that usually the same compound can cause both a bad and a good smell depending on the concentration of the compound, such as indole.
So I ask: Does $\ce{NaHCO3}$ really have any deodorizing effect and if so, what is the mechanism (reactions involved) behind it. Also would it be possible to achieve the same effect with any random alkaline substance ($\ce{NaOH}$ maybe, although not very practical).