How would you implement a `@username` feature in a commenting system?

One suggestion for a team member: “I’m thinking of another way to achieve the @reply which is to take the @reply function outside of the comment text and have its own box to target a specific user. Having @username typed inside the comment box would be a bit complex…”

Any other ideas?