Avoiding fallback to id attribute if there is a id field defined

This PR fixes #276 to avoid the default fallback to the id attribute even if there has been 
an field with the id name specified.