Cleanup and unify handling of 'blacklisted' ids

Major cleanup. Code now passes code-analysis.

unified the handling of non lrf-neutral non-translated ids by introducing a set which collects them. this is also an hook for addon developers and inegrators to add more ids.