BEANS, CORE: modify methods because of comparing objects of AttributeHolders

-modify method equals for reverse format of AttributeHolders - primary and secondary