Preferences in Sketch are there so you can tailor certain features to your liking. To access the preferences, choose Sketch › Preferences from the menu or (press Command-Comma). Here, you’ll see tabs for each section:
There are also options you can change without a visible control in the Preferences panel:
When this is set to YES, Sketch will not use the name of the layer for the id field of the layer in SVG export:
1 defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportSkipAssignIdToLayerName -bool yes
If you ever need to disable this feature, run:
1 defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportSkipAssignIdToLayerName -bool no
Note: Due to the way macOS caches preferences, you’ll need to log out of your user account and log back in again for the changes to apply.