Hash method added for all EnumData classes that extends BaseEnumData.

Name is unique within  the class not across all enums.