generateIdForRecord gets type & object properties passed to it

This is for #2516 

The documentation should also be updated to reflect the actual parameters being passed