Updated AbilitiesManager and ProfessionsManager to handle the ids in a more persistence manner.