First step to create IDs during transformation. Identifying the position when having syblings of the same type is still missing.