For "It is I," there is a part of the sentence that is not spoken, but with a context understood by both speakers. Example: "Who is it?" "It is I (knocking at the door)" or "It is I (entering the room)," etc. So I is the subject of the unspoken phrase.
↧