Use parent div id as id if available, preventing duplicate colorpicker ids when having multiple colorpickers