Have One's Name Taken Meaning

(idiomatic, sports) To receive a yellow card

Example: 2011 December 29, Keith Jackson, “SPL: Celtic 1 Rangers 0”[1], Daily Record:
  Healy’s first act was to crudely wipe out Forrest on the touchline. He saw yellow when it could have been red.
Lafferty then had his name taken for a late one on Adam Matthews.