Store labels of headings as source_id for cross references.