Modifying attributes on diagram elements (e.g. name)