I'm sorry the security officer was such a jerk. He had no right to demand your ID. I can't tell if the company just has an internal order saying that they will call the police if you return to the property, or if they filed something with the local law enforcement. If you have a legitimate, business-related reason to be on the property, then you should probably consult an attorney in your home town (ask around for someone who has a good relationship with the local police department) to see if you can counter their order with a harassment complaint or otherwise clear up the misunderstanding. He had no right to block your vehicle, either, as long as you were there peacefully. Good luck!