It looks like the naming was likely intentional, allegations about Cosby go back to 2004. Although Hannibal Buress didn't start talking about it in his routine until 2014.
There was a bit in 30 Rock about Cosby in 2009, too, written by Tina Fey -- who also took a shot at Cosby on SNL in 2005. Hannibal's routine was just the first to catch the public's attention.
https://abcnews.go.com/Entertainment/bill-cosby-trial-comple...