the earliest recorded form of the name is waering wic , and waving has been thought to be an old english word meaning a dam , a derivative from wer , modern english weir : thus 'dwellings by the weir ' .