fixes #2588 - table name used for localization is being determined correctly now for sti classes.