Use a NAMESPACE_SEPARATOR constant for all the places where you use dot (.).