begin getidbyname