add EdgeIdType and implicit conversions between IdType and SerializedIdTypes