A Procedure to Obtain the Effective Nuclear Charge from the Atomic Spectrum of Sodium