I think we should strictly reject null-names right away as they will cause a rather cryptic exception message further down (I am not even sure the String expansion will work properly).