Add SVG "id" when DWG-SVG exporting

I need to define some SVG attributes such as"id" on my DWG blocks (e.g. pumps, valves), so when I export DWG to SVG I could identify a pump on the SVG file by his "id"