python: uses C-API to determine the cobjects type id for beam-elements
python: uses C-API to determine the cobjects type id for beam-elements

Attempts to use the NS(*_type_id)() APIs for beam-elements to ensure that
the type-id's in the python implementation is consitent with their counterparts
in the C/C++API.

Feedback is welcome

SixTrack/SixTrackLib,SixTrack/SixTrackLib,SixTrack/SixTrackLib,SixTrack/SixTrackLib