There is another possibility, and I like it. After inventing Samwell, GRRM realized the name's similarity to Samwise, and then put in this small homage. Just a little joke, nothing meaningful. I also heard that in the TV series there is a dialogue between Sam and Pip (Pippin, you see) that also contains a LotR homage, but now I cannot recall it.