Buffalo Bill, for William Cody (5)
I believe the answer is:
alias
'buffalo bill for william cody' is the definition.
(I've seen this in another clue)
This is all the clue.
(Other definitions for alias that I've seen before include "Cabbage salad" , "aka" , "it may be assumed" , "Alternative name" , "another name" .)