Updated key calculation in hierarchy

The previous key calculation based on the combination of string was fine
but we actually have a unique number combination - column + element -
that we can use instead.