Formal speech and writing: It is I. (But when, in formal speech, would a person ever need to say this?)
Colloquial speech:
(knock at the door) : Who is it?
(reply) : It's only me.
Explanation: the verb 'to be' takes the nomination case before and after it. Usually, this is not obvious e.g.
"I am a teacher." (nouns do not change according to whether in the Nominative or the Objective case, so one can't see that 'a teacher' is actually in the Nominative case.)