How can we distinguish transient pulsars from SETI beacons?