server: Use existing id variable when inserting created object
server: Use existing id variable when inserting created object

We already have the id variable there and it makes it slightly easier to
read.

Signed-off-by: Jonas Ådahl <67dcd8a17e758192e0cbb577ce1d62cc7da6cf49@gmail.com>
Reviewed-by: Bryce Harrington <bdb14cfc1ab8d24e13de84adc40b41ae60c13bd1@osg.samsung.com>

sir-murray/wayland,tulcod/wayland,bitfactor/wayland,mchalupa/wayland,mchalupa/wayland,sir-murray/wayland,bitfactor/wayland,abooij/wayland,eyolfson/wayland,abooij/wayland,tulcod/wayland,tulcod/wayland,bitfactor/wayland,eyolfson/wayland,mchalupa/wayland,abooij/wayland,sir-murray/wayland,eyolfson/wayland