I have never once had a ticket which matched my ID, and presumably never will.
My ticket always has my last name followed by my first initial. My last name, however, appears as one word while in reality it is hyphenated and is that way on my passport.
I have never had a problem with this.