Any person discovering where any such goods are wrongfully bought, sold or concealed, so that the owner, his agent or attorney, shall regain them, shall be entitled to a reasonable salvage, not exceeding twenty-five per cent on the value, to be adjusted by the next neighboring magistrate, who is hereby required to adjust such value.