validate vertex ids implemented and tested

no need for the type arguments here and the exception