BaseElement: Implemented default getNameEntity() method.