How to name SMD packages in my Pick&Place library
There is an naming convention for land patterns in IPC-7351B. It would make sense to use it or something similar for your pick&amp;place library.

The naming convention includes pitch, pin count, body width, length and height, so it might be what you are looking for.

Example: 

A QFN package with .5mm pitch, 5mm by 5mm body, 1 mm height and 28 pins would be:
QFN50P500X500X100-28  

There is a guide to the naming land patterns here

The IPC standard can be bought through the IPC online store.