get_tracked_entities function

Get tracked entity attributes, their corresponding IDs and event IDs