Tileset editor: implement updating pattern id refactoring.