Crossword Genius

A misleading code, perhaps, to the young beginner (5)

Ross

I believe the answer is:

decoy

I'm a little stuck... Click here to teach me more about this clue!

'the young beginner' is the definition.
Although both the answer and definition are singular nouns, I cannot understand how one could define the other.

'a misleading code perhaps' is the wordplay.
'a misleading' indicates anagramming the letters (I've seen this in other clues).
'perhaps' becomes 'y' (I've seen this in other clues).
'code' is an anagram of 'deco'.
'deco'+'y'='DECOY'

'to' acts as a link.

Can you help me to learn more?

(Other definitions for decoy that I've seen before include "It's used to lead into a trap" , "Kind of lure to tempt into trap" , "Something used to lure prey into a trap" , "Entrap" , "Lure or snare" .)

I've seen this clue in the Evening Standard.
Want a hint initially instead of a full solution? Install my app