A General Identification Algorithm For Data Fusion Problems Under Systematic Selection