Added ids to model elements and added perspective switch command