Hi,
actually the distinction in this case is made basing on the color of the circle.
Like below:
@startuml
entity entity
enum enum
@endum
It results in such diagram:


You can easily distinct them by the color of the circle or the name that you are setting.
What other solution you see? Could you describe it?
Jan