Get layer id or create in services