Extract getClassName method

Make it easier to customize the migration naming schema.