Standardizing $id by removing preceding slash