Updated the namespace generator to accept the namespace reference that the prefix is being generated for