Add ID and comparison to both Place and Transition. PetriNet has sets for members.