Added new error for ambiguous type names
Re-written ClientBase

* Dynamic type -> type identifier look-up
* Dynamic locations
* Better endpoint handling