added method to reserve identifiers and a test