There are a number of ways to refer to AutoCAD drawing objects with AutoLISP. These include the following:
AutoLISP provides functions to convert from one type of object identifier to another.