Fix service creation when giving only a name or an indentifier