Adds ID to service and states