Fix ID element for cases where the resource we are sending a response for is not the resource requested.
Add profile attribute to entity self link.
Merge pull request #155 from mtemenos/master

Fix ID for cases where resource sending response is not the resource requested + Add profile attribute to entity self link