code: public BioPAXElement get(String label, Pattern p)
  	{
  		return variables[p.indexOf(label)];
  	}
docs: Gets element corresponding to the given label in the pattern.
  @param label label of the element in the pattern
  @param p related pattern
  @return element of the given label
  @throws IllegalArgumentException if the label not in the pattern