Bug fix for generic_fns.align_tensor.return_data_name().
The function now checks that a string is passed into it and that it raises a RelaxError when no parameter matches.
Authored by: bugman 2007-11-26
Parent: [r4014]
Child: [r4016]