Using the switch device type should probably get you decent mileage for an outlet.
From what I understand, you had a hub, and want to relink the device with the PLM instead. The tricky part is that the insteon devices ignore the new modem unless the modem shows up in their link database.
If you do a device.ping() and you get a "nack" back, you know the device got the message, but chose to ignore it.
So you definitely want to tread carefully. First try it out on one device. Among the few messages the device will respond to no matter what is device.enterLinkingModeExtended(). This should connect your device:
myOutlet.enterLinkingModeExtended(0x01)
myModem.linkAsController(0x01)
myOutlet.enterLinkingModeExtended(0x01)
myModem.linkAsController(0x01)
(listen to your modem giving the happy beeps)
Once you are able to link successfully, you can try the nukeDB and see what happens. InsteonTerminal is VERY experimental. It's basically a tool to learn how the devices behave.
Once the database is clean (it will no longer respond to getdb() from your modem then!), try linking anew.
I dunno about the on/off mask and x10 stuff, just ignore it unless it gives you trouble.