Plans to help coastal communities by tackling the nursing crisis on the Isle of Wight have been mentioned in the House of Lords.