As a security guy I think this is a REALLY bad idea because of the security implications surrounding it.
[1] https://www.washingtontimes.com/news/2012/aug/1/liberal-majo... -- "One respondent wrote in that if department members “could figure out who was a conservative, they would be sure not to hire them.”"