Abstract

Altering ID function to be more abstract