Scientifically it makes perfect sense, with two assumption. The unknown is what are the shields made from, I'm assuming shield are fields of photons circulating around your ship being constantly supplied by your shield generator. If this is true, then my second assumption is:
The second assumption is that your lasers are real lasers. AKA, they are photons set to a certain wave length.
If these two assumptions are correct, it is easy to see the IFF laser. You just tune your laser to your wings shield generator photons wave length. That way, when they hit the shield, they become part of the wave, versus, when they hit a foe, they cancel out the photons waves.
Here is some reading on L.A.S.E.R.s
https://lasers.llnl.gov/education/how_lasers_work
Great Job, FD..... Now, I wonder how much or where to get this capability from.