this function is also able to detect the id() function in base classes, however the number of derivations is large I will add the test `test_Has_member_id.cpp` to the BGL package to test this functionality