added more advanced way of pruning the id from internal names. Is now concetrated in a static method in ilwisobject