While I believe the answer to this is the first option (abilities gained through leveling up and quests) I want to vote for them doing something similar to what XI did... XI didn't have a rigid system which allowed for jobs to be truly unique in the way they functioned.
