North Yorkshire Police want to trace a man and his dog following an attack in Robin Hood's Bay.