made identifier comparable and added `remote()` attribute to service type