Bug fix for the get_data_names() method.
The sim_names flag is now properly used to return just a single object name.
Authored by: bugman 2008-06-23
Parent: [r6468]
Child: [r6470]