Since we're on a grammar tangent already, as a non-native speaker, I thought "was it a man who did this" was a valid construction. Am I in error?
If you are already sure it was a person and wanted to be specific, you could rephrase that as “Was the person who did this a man?”.
(The answer to that might of course be “I don't know, they looked rather androgynous.” or the more down to earth “Dunno. Couldn't tell if it was a bloke or a gal.”.)