Set object name.
If name is null the function just returns.
name
a DbBase instance
Object name as a string