Mrs Suhks always smacks me on illegal use of “me” all the time.
Here’s how you remember when to use “I”...
If you can continue the sentence—
e.g., “It was I who did it.”
You wouldn’t say
“It was ME who did it.”
(I know, I know, you WOULD!)
No charge for this clue.