Convert skill level to integer