Ha-Shem literally means "the Name". It is used in place of YHWH in spoken Hebrew, and occasionally in written Hebrew too (as a more modern substitution--in the past they more often used Adonai, 'the Lord', as a written substitute).
God also said to Moses, "Say this to the people of Israel, `YHWH, the God of your fathers, the God of Abraham, the God of Isaac, and the God of Jacob, has sent me to you': this is My Name for ever, and thus I am to be remembered throughout all generations. (Exodus 3:15)
Therefore David blessed YHWH in the presence of all the assembly; and David said: "Blessed art thou, YHWH, the God of Israel, our Father for ever and ever. (1 Chronicles 29:10)
YHWH, Ha-Shem, is here declared the Father. Not a separate person within the Godhead. It is this same God, the Father, as I cited earlier today, who is called Savior and Redeemer. The sons of God are not themselves gods, but rather are those who trust in and obey Him.