Preventing name collisions when ignoring tables in the SchemaDumper

Hi,

This PR is related to this issue: https://github.com/rails/rails/issues/9015