[[ Bug 10981 ]] Allow the empty name for objects

This is a change in functionality so should go into develop rather than a maintenance release.