It's worth remembering that Turkey and NATO is not all about 20th century factors. Turkey and Russia go WAY back! Not in a good way. It's probably part of the national consciousness of both nations.
That's part of the picture of Turkey's imperial past and ties in with its relationship with the rest of the Middle East.
Turkey will play NATO in a way that most in Europe and the Americas will struggle to understand.