Better solution for IDs