You're getting something wrong here. Each plugin (either SAM or Autogate) will identify its objects automatically. So if a scenery author places autogate jetways they will work out of the box, same with SAM. Therefore you don't have to bother.
If a custom scenery folder contains a sam.xml file it's likely to be expected using SAM (jetways).