That, backspace340, is exactly the opposite of how it works. No plane identifies itself as hostile, that would be stupid. Please, Mr. F-18, shoot me down!
IFF only receives positive friendly identification. Diamond means no response or hostile, but you cannot positively tell the difference without visual identification. Square means definitely friendly... now, whether that works in DCS, is a whole other story.