Use typeof(object_id) in some places