Casinos have no right to ask you who you are, where you live, what you had for breakfast, or whether you slept with the girl next door the night before. Or any other personal details.
Showing ID but covering your name sounds suspicious. Better simply not to produce any ID at all.
If you're really concerned, there are a number of places on the Internet that will provide "dodgy ID" in any name you choose. I'm not personally recommending or suggesting those, but they would overcome the issues you mention.