An efficient tag identification algorithm for dynamic environment in RFID systems