moving default desiredId to function signature.

Change-Id: Ic28173d051b0bb97b9418596e81d77d3b9af4658