Not sure if this helps but as you can see the part that has come adrift whilst shown has no part number reference as it's an integral part of header rail. As suggested you will need to get it re-welded.
Richard
2018 Roadster 3.7 1966 Land Rover S2a 88 2024 Royal Enfield Guerrilla 450 1945 Guzzi Airone