Nuke is the new Shake. Most compositing for broadcast and film happens in Nuke today. Nuke offers big benefits on capabilities, workflow, and pipeline integration.
After Effects owns the motion graphics market, and is frequently used for lower-end compositing.
As to where you should focus your studies -- I suppose that really depends on what you want to do and what the shops you freelance with are using.
Walter Soyka
Principal & Designer at
Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events