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