Convert base from camelCase to snake_case