Implemented DualID and IDBEntity
Rename security option flags to SecurityFlag enum and add FlagsAttribute instead of using List<> to combine