Brother/sister, YourYour extraction about Cake is Haramcake being haram is only an assumption. For having any thinganything to be haram there should be a clear order from Allah or Prophet PBUH(PBUH). For example
E.g.: if aI spare a food for my son, Ali, then iI will say that this is Ali's food, so iI am attaching name with food. But if iI eat Ali's food then is it haram for me? So always ask from expert and Allah fearing scholars, short knowledge people start to promote invalid logic and wrong extraction from islam.