I understand that the tag in SVG is mainly used for events, but I rather need it for avoiding the need to repeat code, like the following case: