This signature is used in many `getindex()` functions. There are two options to solve this: - Create separate functions to handle `Symbol` and `String` types respectively. - Throw an error if both types are present in the input argument. This is what DataFrames.jl does.