implement delete attribute by reorganize hidden class

Oh, later you do make use of the fact that we keep the attributes in order (using memcpy instead of looking at the indices again), so we do need to keep it this way for now.