Since people who try to kill you are unlikely to speak, so that you can't see their ID number, there should be a mechanism in the game that displays the name of the person as soon as they attack a PC. This should cut down the number of unpunished attacks.
In most situations, people who are immature enough to attack someone without speaking, will 9/10 times do it to other people they see, they usually always get caught by at least someone.
Then it's a rulebreak and if you're killed you tell a gm and they can check who killed you, if you're not killed you printscreen their number and report them to a gm.
The Illarion-server logs what you are doing. So, when you kill a pig, the Illarion-server knows and remembers that. So, when somebody PKs you without a reason, you can ask a nice staff member to have a look into these logs, saved on the Illarion-server. To make the search easier, you should include the time and date you got PKed.
All in all, I see absolutely no reason to install auto-emotes like "#me attacks".
If you die it can be tracked. Otherwise, printscreen when a sword graphic is above the person's head. Plus, I'm sure you'll remember which one attacked you.