Bit Field based dynamic_cast and RTTI