Wrapping core's Table::get_name() method for internal use.

@bmunkholm @emanuelez @cmelchior 
When using our custom string conversion function, the string will actually be copied twice, but that is unavoidable.