Fixing a few id based bugs and internal Datasnap App Id addition

--a few properties were not matching the REST API
-aded internal Datasnap App Id to provide another signal for user mapping analytics