Scott Alexander was the subject of a story, not an anonymous journalistic source which is what the poster you replied to was referring to when they said the NYT protects their sources.
I am not disputing that the NYT revealed his full name, they absolutely did so that, against his wishes.