I ordered fishes and ikan bills but the stall holder gave me chicken wing and luncheon meat. One realized I was pulling their legs but the other did not.
These things are learned opportunistically. The more practical approach is to learn to recover from such social faux pas gracefully. If you can laugh at yourself, that is even better.