It effectively targets the elderly because its benefits go disproportionately to people who bought homes many decades ago, in other words, the elderly.
Another way to determine who it targets is to suggest repealing it and watch who complains the loudest.