composition function

Calculate the composition of alter attributes in an egor object