added self_id and parent_id into attribute structure, without changing any interface, possibly the interfaces should be modified, or slef_id/parent_id should be added somewhere else in task class