Raising an error when creating components using a id_type which is not referring to a locality
Fixing segfault in zero_copy_serialization_test
Fixing zero_copy_serialization_test to actually perform normal serialization tests as well