I'd like to get the id of the pressed element.

I know it's a very common question but I **do not want** a solution in **jquery** (I'm trying to use it as few as possible)
I cannot modify the html, supposing is something like: 

```
<p id='123' class='my_class'>x</p>

```

I cannot create something like:

```
<p id='123' class='my_class' onclick='console.log(this.id + " pressed");'>x</p>

```

This is my personal attempt:

```
$(document).on('click', '.my_class', this.id, function (id) {
    console.log( id + " pressed!");
});

```

But I keep obtaining this: 

```
[object Object] pressed!

```