Respect sti_name

The identifier stored in the `inheritance_column` should always call `sti_name`. In some places `class.name` is being called instead, which is only a problem when `sti_name` is changed from the default. 

Thanks for catching, will fix.