def METHOD_NAME(self):
    frmt_enum = LXB.FormatEnum("{}id_enum_t".format(self.prefix.lower()))
    for idx in range(0, len(attributes_name)):
        frmt_enum.append(self.make_enum_name(attributes_name[idx]), "0x{0:04x}".format(idx))
    frmt_enum.append(self.make_enum_name("_LAST_ENTRY"), "0x{0:04x}".format(idx + 1))
    return frmt_enum.build()