Using the entityid to distinguish between objects you are colliding with is perfectly fine as you proposed. However, I would recommend setting an explicit entityid!
Alternatively, you can also use the entityType property.
I hope I was able to clear things up a little. Feel free to ask if you have more questions
Lorenz from V-Play