replace get/setId() with get/setPublicId()