Added get_element and get/set_id properties.
Merge pull request #3050 from eeasss/master

Added get_element and get/set_id properties.