df["ID Object"] deliberately throws an error because it’s ambiguous if it should return a row or a column. Different users have different expectations for what df[1] should return, so we require the expliciteness of df[:, "ID Object"].
What version of Julia and DataFrames are you using? Using getproperty works for me on 1.6.0 and DataFrames 1.1
julia> df = DataFrame("ID Object" => [1, 2, 3])
3×1 DataFrame
Row │ ID Object
│ Int64
─────┼───────────
1 │ 1
2 │ 2
3 │ 3
julia> df."ID Object"
3-element Vector{Int64}:
1
2
3