I was, of course, just joking about welding it with a match. *KA-BOOM*
However, having said that, yes, you can indeed 'weld' thermoplastic and I've done it many times. Steps to do your tank, should you wish to*:
Cleaning the tank:
- - Drain out all gasoline in the tank and allow to air out for 24 hours.
- - Put about a 1/2 cup of liquid detergent into the tank - any strong detergent will do (I use "Simple Green", but "Dawn" also works great) - but do NOT ADD WATER yet... swish it around and it will emulsify the remaining gas. Make sure you swish it and get all corners of the tank.
- - Now add *hot* water... REALLY hot... swish it all around and mix in all that detergent... shake...
- - Fill the tank with water, driving out any remaining fumes.
- - Drain, and repeat the detergent / water routine.
- - Thoroughly rinse the tank of all detergent and dry it out.
- - Your tank should now be free of any explosive gasses and you can 'weld' it. To be sure, give it the 'sniff' test - if it still smells strongly of petrol you should repeat the above steps until it 'sniffs' clean. (I've cleaned many a metal tank this way, prior to soldering or welding them, and it works.)
Welding Plastic:
- - For welding plastic I use a special "smoothing" tip on my Weller soldering iron - it looks like this:

- - Using other thermoplastic material as 'welding rod' (a milk bottle, cut into strips, works well**) you can soften the base plastic with the soldering tip, and then lay on the additional thermoplastic material and heat the base and material until they fuse... keep adding thermoplastic material until you've got a nice solid, mounded bead weld. Just as with any welding, penetration of the heat and welding material is critically important to the final strength of the weld.
You can also fix small tears in plastic bumpers this way... I've done it many times and the repair lasts just fine.
* (Although I'm sure I could fix a small seam separation like this myself, I take no responsibility for future liability if anyone else tries this!)
** (Polyethylene terephthalate (PET), which melts at around 260°C)