Reads a value from this pointer
if T is not the type of value in this pointer
if it could not find element of ID pointer inside the registry registry