Equal accommodation is the cornerstone of freedom.
I disagree. A baker can't decline to bake a cake because of the government. That's not "freedom", that's totalitarianism.
Besides, discrimination laws aren't needed. If a business engaged in blatant, ugly discrimination, word would spread quickly and that business would suffer and probably cease to exist.
How many employees does the fed, state and local governments employ to make sure that baker has to make that cake? As a society, is this really necessary? Worse case scenario is the gay guy goes somewhere else and gets his cake.
So, not only are such laws contrary to the principles of freedom, they're also costly and unnecessary.
It's always amazed me that for all the hoopla over the 'gay cake' issue, not one ever thought of the simple answer.
Simply don't offer custom cakes. Limit your customer choices to a list of set phrases, as long a list as you like, and don't offer alternative. No one can force a company offer a product it doesn't purport to provide. You can't sue Home Depot into selling ladies lingerie (although it would certainly make shopping there more interesting).
There is a reason why Carvel hasn't been forced to make a rainbow Cookiepuss ... it's just isn't on the menu.
However, if you're going to offer any variety of cake on demand, you must be prepared to serve anyone who asks for your wares, regardless of how you feel about them personally.
If I was allowed to only do business with people I liked, I would literally have no customers.