Add ID to dropdown if target has one