Baking soda can neutralize a base. It can do this because in water, sodium bicarbonate breaks down ultimately into carbonic acid (H2CO3), an unstable acid, which can then react with a base to neutralize it. This ability to neutralize both acids and many bases is why baking soda is so effective at reducing odors.
John.