I only can see this way.
For eg: Entity1
Id
Name
EntityName ( Add new attribute) - Add a fixed collunm with the entityName if with aggregate. If you want to use AdvancedQuery you can add a String with the entity name.
After that you can add this attribute at your Feedback Message.
Best Regards.