Generate clean & reusable CSS selectors from a set of DOM elements