Bug fix for generic_fns.align_tensor.return_data_name().
The function now checks that a string is passed into it.
Authored by: bugman 2007-11-26
Parent: [r4011]
Child: [r4013]