Add warning tag for unknown names and types #2

| Q                    | A
| -------------------- | ---
| Bug fix?             | no
| New feature?         | no
| BC breaks?           | no
| Checkstyle issues?*  | no
| PMD issues?**        | ?
| Changelog updated?   | no
| Fixed tickets        | #2