customerprofiles_create_segment_definition function

Creates a segment definition associated to the given domain