protocol struct add user controlled id member

Signed-off-by: Andy Green <andy.green@linaro.org>