The character of Sheldon Cooper was inspired by a computer programmer personally known to series co-creator Bill Prady. He is named in honor of actor/producer Sheldon Leonard and Nobel Prize Laureate Leon Cooper.
The infection is caused by bacteria. However, excessive use may irritate you. Soda also dehydrates you, and for proper urinary health you should be drinking lots of water, and also cranberry juice. Your physician was definitely right in telling you that it could have made the bladder infection worse.
If not infection.... Hi. I've had some times in the past when my system was apparently just too acidic and I kept thinking I was getting an infection when I wasn't. A nurse told me to drink 1/2-1 tsp. of baking soda in an 8oz glass of water.