guess id from ip

Totally untested, but is this closer to what you guys had in mind? If so, I'll figure out a test environment and get it tested.