some clean-up of 6b8704d974abd4ab7fb58036a961fa0b7136aaa7

const methods, removed this->..., naming

Change-Id: I0db1cf445936bab04003062bc59ce0a0c2fc8b71
fix-up of 6b8704d974abd4ab7fb58036a961fa0b7136aaa7

Allocation happened also if no attributes were to be pasted and more
memory could had been allocated than actually used. Also that array of
arrays is entirely not needed.

Change-Id: I37a58eea9c42cdc96824ce3e8fba5109921fb35a