When setting a new namespace name using Element#namespace_name= the cache used by Element#namespace is flushed properly.