例例文
Who was it that broke the window in the science room?
理科室の窓を割ったのは、一体誰だったのか。
EN英英で言うと
used to ask strongly who did something, by putting who into the it is ... that pattern
源語源・イメージ

強調構文 It is A that ~ の A を疑問詞 who にして文頭に出した形。
!入試ポイント
What is it that ~?(…するのは一体何か)も同じ型。間接疑問では I wonder who it was that ~ の語順になる点が並べ替えで頻出。
強調構文 It is ~ that ... の強調部分を疑問詞 who に変えて文頭に出した形で、「…するのは一体誰か」と「誰」を強める。that の後ろは主語が抜けた形(Who was it that broke the vase?)。間接疑問では I wonder who it is [was] that ~ と、疑問詞の後ろが it is の普通の語順になる点が並べ替えで頻出。
VSここが違う!
Who is it that ~?vsWhat is it that ~?
同じ強調構文の疑問文で、who は人、what は物・事を強調する。見分け方:答えが人なら who、物事なら what。間接疑問の語順(疑問詞+ it is + that)は共通。
Who is it that keeps calling you? / What is it that you want to say?
覚覚え方
It was Tom that broke it. の Tom を Who に変え、疑問文の語順(Was it → Who was it)で文頭に出したと考える。元の強調構文から作り直せば、並べ替えでも語順を間違えない。
Q入試形式の例題
I wonder who that left the lights on in the classroom.
I wonder の後ろの間接疑問なので、疑問詞の後ろは普通の語順 it was(I wonder who it was that ~)。was it は直接疑問文の語順(Who was it that ~?)で、間接疑問には使わない。did it / it did では強調構文 It is ~ that の形を作れない。