Conditionally define at_id().