Replaced slot lookup from using id/parameter count pairs to using symbol
codes.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>