How to Build an RFID Tag Detector - part 1: theory